﻿using System;
using System.Windows.Forms;
using Scommesse.Presenters;

namespace Scommesse.View
{
    public partial class RicaricaBetCard : Form
    {
        private IRicaricaBetCardPresenter _presenter;

        public RicaricaBetCard()
        {
            InitializeComponent();
        }

        public void AddListener(IRicaricaBetCardPresenter presenter)
        {
            _presenter = presenter;
        }

        private void InserimentoBanconoteButton_Click(object sender, EventArgs e)
        {
            _presenter.RicaricaCredito();
        }
    }
}
